
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon CNE E-icon-xun"></i>
                    <div class="name">巽</div>
                    <div class="fontclass">.E-icon-xun</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-zhen"></i>
                    <div class="name">震</div>
                    <div class="fontclass">.E-icon-zhen</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-qian"></i>
                    <div class="name">乾</div>
                    <div class="fontclass">.E-icon-qian</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-gen"></i>
                    <div class="name">艮</div>
                    <div class="fontclass">.E-icon-gen</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-dui"></i>
                    <div class="name">兑</div>
                    <div class="fontclass">.E-icon-dui</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kan"></i>
                    <div class="name">坎</div>
                    <div class="fontclass">.E-icon-kan</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kun"></i>
                    <div class="name">坤</div>
                    <div class="fontclass">.E-icon-kun</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-li"></i>
                    <div class="name">离</div>
                    <div class="fontclass">.E-icon-li</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-bao"></i>
                    <div class="name">剥</div>
                    <div class="fontclass">.E-icon-bao</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-bi"></i>
                    <div class="name">贲</div>
                    <div class="fontclass">.E-icon-bi</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-bi1"></i>
                    <div class="name">比</div>
                    <div class="fontclass">.E-icon-bi1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-cui"></i>
                    <div class="name">萃</div>
                    <div class="fontclass">.E-icon-cui</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-daxu"></i>
                    <div class="name">大畜</div>
                    <div class="fontclass">.E-icon-daxu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-daguo"></i>
                    <div class="name">大过</div>
                    <div class="fontclass">.E-icon-daguo</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-dazhuang"></i>
                    <div class="name">大壮</div>
                    <div class="fontclass">.E-icon-dazhuang</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-dun"></i>
                    <div class="name">遁</div>
                    <div class="fontclass">.E-icon-dun</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-fu"></i>
                    <div class="name">复</div>
                    <div class="fontclass">.E-icon-fu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-dayou"></i>
                    <div class="name">大有</div>
                    <div class="fontclass">.E-icon-dayou</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-feng"></i>
                    <div class="name">丰</div>
                    <div class="fontclass">.E-icon-feng</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-ding"></i>
                    <div class="name">鼎</div>
                    <div class="fontclass">.E-icon-ding</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-ge"></i>
                    <div class="name">革</div>
                    <div class="fontclass">.E-icon-ge</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-gen1"></i>
                    <div class="name">艮</div>
                    <div class="fontclass">.E-icon-gen1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-gou"></i>
                    <div class="name">姤</div>
                    <div class="fontclass">.E-icon-gou</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-gu"></i>
                    <div class="name">蛊</div>
                    <div class="fontclass">.E-icon-gu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-guan"></i>
                    <div class="name">观</div>
                    <div class="fontclass">.E-icon-guan</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-guimei"></i>
                    <div class="name">归妹</div>
                    <div class="fontclass">.E-icon-guimei</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jiji"></i>
                    <div class="name">既济</div>
                    <div class="fontclass">.E-icon-jiji</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-huan"></i>
                    <div class="name">涣</div>
                    <div class="fontclass">.E-icon-huan</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jian"></i>
                    <div class="name">蹇</div>
                    <div class="fontclass">.E-icon-jian</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jiaren"></i>
                    <div class="name">家人</div>
                    <div class="fontclass">.E-icon-jiaren</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jian1"></i>
                    <div class="name">渐</div>
                    <div class="fontclass">.E-icon-jian1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jie"></i>
                    <div class="name">解</div>
                    <div class="fontclass">.E-icon-jie</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jie1"></i>
                    <div class="name">节</div>
                    <div class="fontclass">.E-icon-jie1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jin"></i>
                    <div class="name">晋</div>
                    <div class="fontclass">.E-icon-jin</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-jing"></i>
                    <div class="name">井</div>
                    <div class="fontclass">.E-icon-jing</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kan1"></i>
                    <div class="name">坎</div>
                    <div class="fontclass">.E-icon-kan1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-guai"></i>
                    <div class="name">夬</div>
                    <div class="fontclass">.E-icon-guai</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kun1"></i>
                    <div class="name">坤</div>
                    <div class="fontclass">.E-icon-kun1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kui"></i>
                    <div class="name">睽</div>
                    <div class="fontclass">.E-icon-kui</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-kun2"></i>
                    <div class="name">困</div>
                    <div class="fontclass">.E-icon-kun2</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-li1"></i>
                    <div class="name">离</div>
                    <div class="fontclass">.E-icon-li1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-lin"></i>
                    <div class="name">临</div>
                    <div class="fontclass">.E-icon-lin</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-lv"></i>
                    <div class="name">履</div>
                    <div class="fontclass">.E-icon-lv</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-meng"></i>
                    <div class="name">蒙</div>
                    <div class="fontclass">.E-icon-meng</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-mingyi"></i>
                    <div class="name">明夷</div>
                    <div class="fontclass">.E-icon-mingyi</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-pi"></i>
                    <div class="name">丕</div>
                    <div class="fontclass">.E-icon-pi</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-lv1"></i>
                    <div class="name">旅</div>
                    <div class="fontclass">.E-icon-lv1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-qian1"></i>
                    <div class="name">谦</div>
                    <div class="fontclass">.E-icon-qian1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-qian2"></i>
                    <div class="name">乾</div>
                    <div class="fontclass">.E-icon-qian2</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-sheng"></i>
                    <div class="name">升</div>
                    <div class="fontclass">.E-icon-sheng</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-shi"></i>
                    <div class="name">师</div>
                    <div class="fontclass">.E-icon-shi</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-song"></i>
                    <div class="name">讼</div>
                    <div class="fontclass">.E-icon-song</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-sui"></i>
                    <div class="name">随</div>
                    <div class="fontclass">.E-icon-sui</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-shike"></i>
                    <div class="name">噬嗑</div>
                    <div class="fontclass">.E-icon-shike</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-sun"></i>
                    <div class="name">损</div>
                    <div class="fontclass">.E-icon-sun</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-tai"></i>
                    <div class="name">泰</div>
                    <div class="fontclass">.E-icon-tai</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-tongren"></i>
                    <div class="name">同人</div>
                    <div class="fontclass">.E-icon-tongren</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-tun"></i>
                    <div class="name">屯</div>
                    <div class="fontclass">.E-icon-tun</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-weiji"></i>
                    <div class="name">未济</div>
                    <div class="fontclass">.E-icon-weiji</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-wuwang"></i>
                    <div class="name">无妄</div>
                    <div class="fontclass">.E-icon-wuwang</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-xian"></i>
                    <div class="name">咸</div>
                    <div class="fontclass">.E-icon-xian</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-xiaoxu"></i>
                    <div class="name">小畜</div>
                    <div class="fontclass">.E-icon-xiaoxu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-xiaoguo"></i>
                    <div class="name">小过</div>
                    <div class="fontclass">.E-icon-xiaoguo</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-xu"></i>
                    <div class="name">需</div>
                    <div class="fontclass">.E-icon-xu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-yi"></i>
                    <div class="name">颐</div>
                    <div class="fontclass">.E-icon-yi</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-yi1"></i>
                    <div class="name">益</div>
                    <div class="fontclass">.E-icon-yi1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-xun1"></i>
                    <div class="name">巽</div>
                    <div class="fontclass">.E-icon-xun1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-yu"></i>
                    <div class="name">豫</div>
                    <div class="fontclass">.E-icon-yu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-ze"></i>
                    <div class="name">泽</div>
                    <div class="fontclass">.E-icon-ze</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-zhongfu"></i>
                    <div class="name">中孚</div>
                    <div class="fontclass">.E-icon-zhongfu</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-zhen1"></i>
                    <div class="name">震</div>
                    <div class="fontclass">.E-icon-zhen1</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-heng"></i>
                    <div class="name">恒</div>
                    <div class="fontclass">.E-icon-heng</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-yansetianchongkaobei"></i>
                    <div class="name">颜色填充 1 拷贝</div>
                    <div class="fontclass">.E-icon-yansetianchongkaobei</div>
                </li>
            
                <li>
                <i class="icon CNE E-icon-yansetianchong"></i>
                    <div class="name">颜色填充 1</div>
                    <div class="fontclass">.E-icon-yansetianchong</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">CNE</span> <span class="hljs-selector-tag">E-icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"CNE"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
